# plugs/gtest.py
#
#

""" run builtin command tests """

__copyright__ = 'this file is in the public domain'

from gozerbot.commands import cmnds
from gozerbot.examples import examples
from gozerbot.gozertest import gtest

def handle_tests(bot, ievent):
    """ tests .. do builtin command tests """
    gtest.dotests(bot, ievent)

cmnds.add('tests', handle_tests, 'USER')
examples.add('tests', 'do buildin cmnd tests', 'tests')
